<!DOCTYPE html>
<html lang="zh-CN">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>注册丨iStudy</title>
{% load static %}

<link rel="stylesheet" href="{% static 'css/style.css' %}">
<body>
<div class="login-container">
    <h1>iStudy知识学习平台</h1>
    <div class="connect">
        <p>欢迎注册</p>
    </div>
    <form action="" method="post" id="loginForm" novalidate enctype="multipart/form-data">
        {% csrf_token %}
        <div>{{ form_obj.user_name }}</div>
        <div>{{ form_obj.pass_word }}</div>
        <div>{{ form_obj.re_pwd }}</div>
        <div>{{ form_obj.position }}</div>
        <div>{{ form_obj.company }}</div>
        <div>{{ form_obj.phone }}</div>
        <div>{{ form_obj.avatar }}</div>
        <button id="submit" type="submit">注 册</button>
    </form>
    <a href="{% url 'login' %}">
        <button type="button" class="register-tis">有账号去登录</button>
    </a>
</div>
</body>
<script src="{% static 'js/jquery.min.js' %}"></script>
<script src="{% static 'js/common.js' %}"></script>
<script src="{% static 'js/supersized.3.2.7.min.js' %}"></script>
<script src="{% static 'js/supersized-init.js' %}"></script>
<script src="{% static 'js/jquery.validate.min.js' %}"></script>
</html>